<?php

require_once 'SpecHelper.php';

class DescribeMutationOperatorAddition extends PHPSpec_Context
{

    public function itShouldReplaceIndexedStringWithSubtractionSign() 
    {
        $source = '<?php$i=1+1;';
        $mutation = new PHPMutagen_Mutation_OperatorAddition();
        $mutated = $mutation->mutate($source, 5);
        $this->spec($mutated)->should->be('<?php$i=1-1;');
    }

}
